import 'package:flutter_nb_net/flutter_net.dart';

class GetSettingResp extends BaseNetModel {
  int? code;
  String? msg;
  GetSettingData? data;

  GetSettingResp({this.code, this.msg, this.data});

  @override
  fromJson(Map<String, dynamic> json) {
    return GetSettingResp(
      code: json['code'],
      msg: json['msg'],
      data: json['data'] != null ? GetSettingData().fromJson(json['data']) : null,
    );
  }
}

class GetSettingData extends BaseNetModel {
  String? cmdCode;
  String? cmdContent;

  GetSettingData({this.cmdCode, this.cmdContent});

  @override
  fromJson(Map<String, dynamic> json) {
    return GetSettingData(
      cmdCode: json['cmdCode'],
      cmdContent: json['cmdContent'],
    );
  }
}